<template>
  <div>
    <div class="his">
      <div class="hd">
        历史记录
        <van-icon name="delete-o" />

      </div>
      <div class="bd">
        <van-tag
          v-for="(item,index) in historyListData"
          :key="index"
          plain
          type="default"
        >{{item}}</van-tag>

      </div>
    </div>

  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },
  props: ["historyListData"]
}
</script>

<style>
.his {
  padding: 0.2rem;
}
.hd {
  display: flex;
  justify-content: space-between;
  font-size: 0.4rem;
}
.bd {
  padding: 0.4rem;
  float: left;
  font-size: 0.4rem;
}
.van-tag {
  margin-left: 0.2rem;
}
</style>
